package cn.hp.service;

import cn.hp.entity.Department;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    List<Department> selectDepartment(Department department);

    PageInfo<Department> selectDepartment(Department department, Integer page, Integer limit);

    int insertDepartment(Department department);

    int updateDepartment(Department department);

    int deleteDepartmentById(Integer id);

}
